<!DOCTYPE html> 
<html lang="ja">
	<head>
		<meta charset="UTF-8">
		<title>html5 test</title>
		<script type="text/javascript" src="js/message.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/message_jp.js" charset="UTF-8"></script>
		<script type="text/javascript" charset="UTF-8">
			var espMessage = espMessages.jp;
		</script>
		<!--
		<link rel="stylesheet" href="css/develop.css"　type="text/css">
		-->
		<script type="text/javascript" src="js/value.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/resource.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/frame.js" charset="UTF-8"></script>

		<script type="text/javascript" src="js/editor.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/debug.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/editor_value.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/editor_chara.js" charset="UTF-8"></script>
		<script type="text/javascript" src="js/editor_loadfile.js" charset="UTF-8"></script>

		<script type="text/javascript" charset="UTF-8">
			function saveCanvas(){
				var canvas = document.getElementById("canvas");
				var data = canvas.toDataURL("image/png");
				window.open(data.replace("image/png", "image/octet-stream"),"save");
			} 
		</script>

		<script type="text/javascript" src="js/systemfile.js" charset="UTF-8"></script>

	</head>

	<body class="develop">
<!--
		<table>
			<tr>
				<td style="vertical-align:top;">
					<table>
						<tr>
							<td>
								test menu
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espFrame.play();">play</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espFrame.pause();">pause</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espSystemFile.saveStrage();">save</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espSystemFile.loadStrage();">load</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="saveCanvas();">save canvas</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espEditorValue.reopen();">グローバル変数エディタ</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espEditorChara.reopen();">キャラクタエディタ</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espEditorLoadFile.reopen();">ファイルローダ</button>
							</td>
						</tr>
						<tr>
							<td>
								<button style="width:100%;" onclick="espSystemFile.clear();">all clear</button>
							</td>
						</tr>
					</table>
				</td>
				<td>
					<canvas id="canvas"></canvas>
				</td>
			</tr>
		</table>
-->
	</body>
<!--
	<script type="text/javascript" charset="UTF-8">
		espSystemFile.loadStrage();
		espFrame.getContext();
//		espFrame.play();
	</script>
-->
	<script type="text/javascript" src="esp_ui/espui.js" charset="UTF-8"></script>


</html>